package com.ruoyi.ysVideo.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @program: class by cxf
 * @author: AbrahamBill
 * @date: 2022/9/2
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MyLiveAddress {
    private String id;
    private String url;
    private String expireTime;
    private String appKey;
    private String appSecret;

    private String accessToken;

    public void SetAppKeyAndSecret(AppInfo info){
        this.appKey = info.getAppKey();
        this.appSecret = info.getAppSecret();
    }
}
